/**
 * 
 */
package comp6231.project.testcases;

import java.rmi.RMISecurityManager;

/**
 * @author dimitri.tiago
 * TC 3.2
 */
public class ReturnTestCase32 
{

	/**
	 * @param args
	 */
	public static void main(String[] args) 
	{		
		CustomerClient cc1 = new CustomerClient("m11111", "r", 1111, 9);
		CustomerClient cc2 = new CustomerClient("t22222", "r", 1112, 4);
		CustomerClient cc3 = new CustomerClient("v33333", "r", 1114, 10);
		
		Thread customerClient1 = new Thread(cc1);
		Thread customerClient2 = new Thread(cc2);
		Thread customerClient3 = new Thread(cc3);
		
		customerClient1.start();
		customerClient2.start();
		customerClient3.start();
		
		try 
		{
			customerClient1.join();
			customerClient2.join();
			customerClient3.join();
		} 
		catch (InterruptedException e) 
		{
			e.printStackTrace();
		}
		
		CustomerClient cc4 = new CustomerClient("m11111", "c", 1111, 0);
		CustomerClient cc5 = new CustomerClient("t22222", "c", 1112, 0);
		CustomerClient cc6 = new CustomerClient("v33333", "c", 1114, 0);
		
		Thread customerClient4 = new Thread(cc4);
		Thread customerClient5 = new Thread(cc5);
		Thread customerClient6 = new Thread(cc6);
		
		customerClient4.start();
		customerClient5.start();
		customerClient6.start();
	}
}
